/**
 * Created by aa on 2016/6/6.
 */
$(function () {
    $('.buttonGroup').on('click', function (event) {
        var buttonId = $(event.target || event.srcElement).attr('id');
        if (buttonId == 'androidDownLoad') {
            location.href = 'https://www.pgyer.com/android_version';
        }
        else {
            if (buttonId == 'iosDownLoad') {
                if (browser.versions.weiXin) {
                    location.href = "hkfsHelp.html?location=downloadapp&v20160620001";
                }
                else {
                    location.href = "https://itunes.apple.com/cn/app/id1099068949?mt=8";
                }
            }
        }
    });
});